package com.zb.service;

import com.zb.dto.DeviceDTO;
import com.zb.vo.DeviceQuotaVO;
import com.zb.vo.Pager;

public interface DeviceService {

    Pager<DeviceQuotaVO> queryDeviceQuota(Long page, Long pageSize, String deviceId, String tag, Integer status );

    boolean updateOnline(String deviceId, Boolean online);

    boolean saveDeviceInfo(DeviceDTO deviceDTO);

    boolean setStatus(String deviceId, Boolean status);

    boolean updateDeviceTag(String deviceId, String tag);

    Pager<DeviceDTO> searchDevice(Long page, Long pageSize, String deviceId, String tag, Integer status);
}
